package com.xc.hotelmgr.fegin.controller;

import com.xc.hotelmgr.fegin.pojo.DelGroupRp;
import com.xc.hotelmgr.fegin.service.AliFeginService;
import com.xc.hotelmgr.fegin.utils.ComResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AliFeignController {

    @Autowired
    private AliFeginService aliFeginService;

    @RequestMapping(value = "/rateplan/del_group_rp", method = RequestMethod.POST)
    public ComResult delGroupRp(@RequestBody DelGroupRp delGroupRp) {
        return aliFeginService.delGroupRp(delGroupRp);
    }
}
